package com.bluej.study.spring_boot.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Random;

/**
 * @author xingdongjie
 * @date 2018/4/16 18:05
 */
@Data
public class User {
    @ApiModelProperty(notes = "用户编号")
    private long id = new Random().nextLong();
    @ApiModelProperty(notes = "用户名称")
    private String name = "what every you want!" ;
}
